package com.jsyl.entity.core;

import java.io.Serializable;
import java.math.BigDecimal;

import com.jsyl.entity.common.BaseEntity;
import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;
/**
 * 借款人还款计划  实体
 * @author song
 *<p></p>
 */
@Entity(table = "NF_REPAYMENT")
public class Repayment extends BaseEntity implements Serializable {

	
	private static final long serialVersionUID = 4834232394878474977L;

	 @Id
	 @Column("ID")
	 private Integer id;
	 
	/* 借款用户ID*/
	 @Column("USER_ID")
	 private Integer userId;
	 
	/* 借款标的ID*/
	 @Column("LOAN_ID")
	 private Integer loanId;
	 
	/* 还款状态 【0未还；1已还 ;2逾期垫付;3提前还款】*/
	 @Column("STATUS")
	 private Integer status;
	 
	/* 还款期数*/
	 @Column("PERIOD")
	 private Integer period;
	 
	 /*预计还款时间*/
	 @Column("REPAYMENT_TIME")
	 private String repaymentTime;
	 
	/* 实际还款时间*/
	 @Column("REPAYMENT_YESTIME")
	 private String repaymentYesTime;
	 
	/* 预还金额*/
	 @Column("REPAYMENT_MONEY")
	 private BigDecimal rempaymentMoney;
	 
	/* 已还金额*/
	 @Column("REPAYMENT_YESMONEY")
	 private BigDecimal repaymentYesMoney;
	 
	 /*逾期天数*/
	 @Column("LAST_DAYS")
	 private Integer lastDays;
	 
	/* 逾期利息*/
	 @Column("LAST_INTEREST")
	 private BigDecimal lastInterest;
	 
	 /*待还利息*/
	 @Column("WAIT_CAPITAL")
	 private BigDecimal waitInterest;
	 
	/* 待还本金*/
	 @Column("WAIT_CAPITAL")
	 private BigDecimal waitCapital;
	 
	/* 违约金（提前还款）*/
	 @Column("ADVANCE_CAPITAL")
	 private BigDecimal advanceCapital;
	 
	 /*管理费*/
	 @Column("MANAGE_RATE")
	 private BigDecimal manageRate;
	
	 /*添加时间*/
	 @Column("ADDTIME")
	 private String addtime;
   
	 @Override
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getLoanId() {
		return loanId;
	}

	public void setLoanId(Integer loanId) {
		this.loanId = loanId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getPeriod() {
		return period;
	}

	public void setPeriod(Integer period) {
		this.period = period;
	}

	public String getRepaymentTime() {
		return repaymentTime;
	}

	public void setRepaymentTime(String repaymentTime) {
		this.repaymentTime = repaymentTime;
	}

	public String getRepaymentYesTime() {
		return repaymentYesTime;
	}

	public void setRepaymentYesTime(String repaymentYesTime) {
		this.repaymentYesTime = repaymentYesTime;
	}

	public BigDecimal getRempaymentMoney() {
		return rempaymentMoney;
	}

	public void setRempaymentMoney(BigDecimal rempaymentMoney) {
		this.rempaymentMoney = rempaymentMoney;
	}

	public BigDecimal getRepaymentYesMoney() {
		return repaymentYesMoney;
	}

	public void setRepaymentYesMoney(BigDecimal repaymentYesMoney) {
		this.repaymentYesMoney = repaymentYesMoney;
	}

	public Integer getLastDays() {
		return lastDays;
	}

	public void setLastDays(Integer lastDays) {
		this.lastDays = lastDays;
	}

	public BigDecimal getLastInterest() {
		return lastInterest;
	}

	public void setLastInterest(BigDecimal lastInterest) {
		this.lastInterest = lastInterest;
	}

	public BigDecimal getWaitInterest() {
		return waitInterest;
	}

	public void setWaitInterest(BigDecimal waitInterest) {
		this.waitInterest = waitInterest;
	}

	public BigDecimal getWaitCapital() {
		return waitCapital;
	}

	public void setWaitCapital(BigDecimal waitCapital) {
		this.waitCapital = waitCapital;
	}

	public BigDecimal getAdvanceCapital() {
		return advanceCapital;
	}

	public void setAdvanceCapital(BigDecimal advanceCapital) {
		this.advanceCapital = advanceCapital;
	}

	public BigDecimal getManageRate() {
		return manageRate;
	}

	public void setManageRate(BigDecimal manageRate) {
		this.manageRate = manageRate;
	}

	public String getAddtime() {
		return addtime;
	}

	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}
	 
	


}
